<!-- header -->
<header>
    <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container-fluid">
                <a class="brand" href="<?php echo site_url('admin'); ?>"><i class="icon-home icon-white"></i> Administrador</a>
                <ul class="nav user_menu pull-right">
                    <li class="divider-vertical hidden-phone hidden-tablet"></li>
                    <li class="dropdown">
                    
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><img src="<?= base_url() ?>public/img/user_avatar.png" alt="" class="user_avatar" /> <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="<?php //echo site_url('admin/usuarios/edit/' . /*$userdata->id*/) ?>">Perfil</a></li>
                            <li class="divider"></li>
                            <li><a href="<?php echo site_url('sessions/logout') ?>">Log Out</a></li>
                        </ul>
                    </li>
                </ul>
                <ul class="nav" id="mobile-nav">
                    <li class="dropdown">
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#"><i class="icon-list-alt icon-white"></i> Usuarios <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="<?php echo site_url('admin/usuarios') ?>">Usuarios</a></li>
                            <li><a href="<?php echo site_url('admin/roles') ?>">Roles</a></li>
                        </ul>
                    </li>
                </ul>
                <ul class="nav" id="mobile-nav">
                    <li class="dropdown">
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#"><i class="icon-list-alt icon-white"></i> Cursos <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="<?php echo site_url('admin/courses') ?>">Cursos</a></li>
                            <li><a href="<?php echo site_url('admin/categories') ?>">Categorias</a></li>
                            <li><a href="<?php echo site_url('admin/subcategories') ?>">Subcategorias</a></li>
                            <li><a href="<?php echo site_url('admin/modes') ?>">Modalidades</a></li>
                            <li><a href="<?php echo site_url('admin/course_contacts') ?>">Contactos</a></li>
                        </ul>
                    </li>
                </ul>
                
                <ul class="nav" id="mobile-nav">
                    <li class="dropdown">
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#"><i class="icon-list-alt icon-white"></i> Instituciones <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="<?php echo site_url('admin/institutes') ?>">Instituciones</a></li>
                        </ul>
                    </li>
                </ul>
                
                <ul class="nav" id="mobile-nav">
                    <li class="dropdown">
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#"><i class="icon-list-alt icon-white"></i> Configuracion <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="<?php echo site_url('admin/countries') ?>">Paises</a></li>
                            <li><a href="<?php echo site_url('admin/cities') ?>">Ciudades</a></li>
                            <li><a href="<?php echo site_url('admin/currencies') ?>">Monedas</a></li>
                        </ul>
                    </li>
                </ul>
                
            </div>
        </div>
    </div>
</header>
